﻿using SqlSugar;

namespace RedDragon.Common.Domain.warehouse
{
    /// <summary>
    /// 系统日志
    /// </summary>
    /// 
    [SugarTable("LogEntry")]
    public class LogEntry
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }
        public string   LogData { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string HandleName { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string HandleContext { get; set; }
        /// <summary>
        /// 1:创建 2:审批 3:删除 4：修改
        /// </summary>
        public string Pid { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
